
import request from '@/utils/request'

export const CaseAPI = {
  hasAll(params) {
    return request({
      url: '/Case/hasAll',
      method: 'get',
      params
    });
  },
  hasAllToPage(params) {
    return request({
      url: '/Case/hasAllToPage',
      method: 'get',
      params
    })
  },
  add(data) {
    return request({
      url: '/Case/add',
      method: 'post',
      data
    })
  },
  update(data) {
    return request({
      url: '/Case/update',
      method: 'post',
      data
    })
  },
  delete(data) {
    return request({
      url: '/Case/delete',
      method: 'post',
      data
    })
  },



  // 其他方法...
};
